package com.mapper;

import com.entity.Cart;

import java.util.List;

public interface CartMapper {
    void addToCart(Cart cart);
    void updateCart(Cart cart);
    void deleteFromCart(String storeId, String customerId , String cuisineId);

    void deleteByStoreIdAndCustomerId(String storeId, String customerId);

    void deleteBystoreId(String storeId);

    Cart getCartByCuisineId(String storeId, String customerId , String cuisineId);
    List<Cart> getCartByStoreId(String storeId, String customerId);
    List<Cart> getCartByCustomerId(String customerId);


}
